package com.niiwoo.civet.trade.dto;

import com.niiwoo.civet.trade.enums.ProjectStatusEnum;
import com.niiwoo.civet.trade.enums.ProjectSubStatusEnum;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
public class ProjectOverDTO{
    private Long projectId;
    private ProjectStatusEnum projectStatusEnum;
    private ProjectSubStatusEnum projectSubStatusEnum;

    @Override
    public boolean equals(Object obj) {
        return this.projectId.equals(((ProjectOverDTO)obj).getProjectId());
    }

    @Override
    public int hashCode() {
        return projectId.hashCode();
    }
}
